<?php 

include'../classes/db.php';
$email=$_GET['email'];
$empno=$_GET['empno'];

$x=new DbConnect();
$con=$x->getConnection();
  $result= mysql_query("Select emp_no from employee where email='$email'",$con);
  
while($row=mysql_fetch_array( $result))
	{
	$emp=$row['emp_no'];
	}
  
if($empno==$emp)
	{
     	echo"false";
  	} 
else
	{
  		echo"true";
	}
?>